package com.simple.datax.db.mybatis.model;

import java.util.ArrayList;
import java.util.Date;
import java.util.Iterator;
import java.util.List;

/**
 * 
 * @author paladin
 * 
 */
public class DataxRecvRawMsgCriteria {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public DataxRecvRawMsgCriteria() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        protected void addCriterionForJDBCDate(String condition, Date value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            addCriterion(condition, new java.sql.Date(value.getTime()), property);
        }

        protected void addCriterionForJDBCDate(String condition, List<Date> values, String property) {
            if (values == null || values.size() == 0) {
                throw new RuntimeException("Value list for " + property + " cannot be null or empty");
            }
            List<java.sql.Date> dateList = new ArrayList<java.sql.Date>();
            Iterator<Date> iter = values.iterator();
            while (iter.hasNext()) {
                dateList.add(new java.sql.Date(iter.next().getTime()));
            }
            addCriterion(condition, dateList, property);
        }

        protected void addCriterionForJDBCDate(String condition, Date value1, Date value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            addCriterion(condition, new java.sql.Date(value1.getTime()), new java.sql.Date(value2.getTime()), property);
        }

        public Criteria andIdIsNull() {
            addCriterion("FC_ID is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("FC_ID is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(String value) {
            addCriterion("FC_ID =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(String value) {
            addCriterion("FC_ID <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(String value) {
            addCriterion("FC_ID >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(String value) {
            addCriterion("FC_ID >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(String value) {
            addCriterion("FC_ID <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(String value) {
            addCriterion("FC_ID <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLike(String value) {
            addCriterion("FC_ID like", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotLike(String value) {
            addCriterion("FC_ID not like", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<String> values) {
            addCriterion("FC_ID in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<String> values) {
            addCriterion("FC_ID not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(String value1, String value2) {
            addCriterion("FC_ID between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(String value1, String value2) {
            addCriterion("FC_ID not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andRecvFileNameIsNull() {
            addCriterion("FC_RECV_FILE_NAME is null");
            return (Criteria) this;
        }

        public Criteria andRecvFileNameIsNotNull() {
            addCriterion("FC_RECV_FILE_NAME is not null");
            return (Criteria) this;
        }

        public Criteria andRecvFileNameEqualTo(String value) {
            addCriterion("FC_RECV_FILE_NAME =", value, "recvFileName");
            return (Criteria) this;
        }

        public Criteria andRecvFileNameNotEqualTo(String value) {
            addCriterion("FC_RECV_FILE_NAME <>", value, "recvFileName");
            return (Criteria) this;
        }

        public Criteria andRecvFileNameGreaterThan(String value) {
            addCriterion("FC_RECV_FILE_NAME >", value, "recvFileName");
            return (Criteria) this;
        }

        public Criteria andRecvFileNameGreaterThanOrEqualTo(String value) {
            addCriterion("FC_RECV_FILE_NAME >=", value, "recvFileName");
            return (Criteria) this;
        }

        public Criteria andRecvFileNameLessThan(String value) {
            addCriterion("FC_RECV_FILE_NAME <", value, "recvFileName");
            return (Criteria) this;
        }

        public Criteria andRecvFileNameLessThanOrEqualTo(String value) {
            addCriterion("FC_RECV_FILE_NAME <=", value, "recvFileName");
            return (Criteria) this;
        }

        public Criteria andRecvFileNameLike(String value) {
            addCriterion("FC_RECV_FILE_NAME like", value, "recvFileName");
            return (Criteria) this;
        }

        public Criteria andRecvFileNameNotLike(String value) {
            addCriterion("FC_RECV_FILE_NAME not like", value, "recvFileName");
            return (Criteria) this;
        }

        public Criteria andRecvFileNameIn(List<String> values) {
            addCriterion("FC_RECV_FILE_NAME in", values, "recvFileName");
            return (Criteria) this;
        }

        public Criteria andRecvFileNameNotIn(List<String> values) {
            addCriterion("FC_RECV_FILE_NAME not in", values, "recvFileName");
            return (Criteria) this;
        }

        public Criteria andRecvFileNameBetween(String value1, String value2) {
            addCriterion("FC_RECV_FILE_NAME between", value1, value2, "recvFileName");
            return (Criteria) this;
        }

        public Criteria andRecvFileNameNotBetween(String value1, String value2) {
            addCriterion("FC_RECV_FILE_NAME not between", value1, value2, "recvFileName");
            return (Criteria) this;
        }

        public Criteria andRecvDataTypeIsNull() {
            addCriterion("FC_RECV_DATA_TYPE is null");
            return (Criteria) this;
        }

        public Criteria andRecvDataTypeIsNotNull() {
            addCriterion("FC_RECV_DATA_TYPE is not null");
            return (Criteria) this;
        }

        public Criteria andRecvDataTypeEqualTo(String value) {
            addCriterion("FC_RECV_DATA_TYPE =", value, "recvDataType");
            return (Criteria) this;
        }

        public Criteria andRecvDataTypeNotEqualTo(String value) {
            addCriterion("FC_RECV_DATA_TYPE <>", value, "recvDataType");
            return (Criteria) this;
        }

        public Criteria andRecvDataTypeGreaterThan(String value) {
            addCriterion("FC_RECV_DATA_TYPE >", value, "recvDataType");
            return (Criteria) this;
        }

        public Criteria andRecvDataTypeGreaterThanOrEqualTo(String value) {
            addCriterion("FC_RECV_DATA_TYPE >=", value, "recvDataType");
            return (Criteria) this;
        }

        public Criteria andRecvDataTypeLessThan(String value) {
            addCriterion("FC_RECV_DATA_TYPE <", value, "recvDataType");
            return (Criteria) this;
        }

        public Criteria andRecvDataTypeLessThanOrEqualTo(String value) {
            addCriterion("FC_RECV_DATA_TYPE <=", value, "recvDataType");
            return (Criteria) this;
        }

        public Criteria andRecvDataTypeLike(String value) {
            addCriterion("FC_RECV_DATA_TYPE like", value, "recvDataType");
            return (Criteria) this;
        }

        public Criteria andRecvDataTypeNotLike(String value) {
            addCriterion("FC_RECV_DATA_TYPE not like", value, "recvDataType");
            return (Criteria) this;
        }

        public Criteria andRecvDataTypeIn(List<String> values) {
            addCriterion("FC_RECV_DATA_TYPE in", values, "recvDataType");
            return (Criteria) this;
        }

        public Criteria andRecvDataTypeNotIn(List<String> values) {
            addCriterion("FC_RECV_DATA_TYPE not in", values, "recvDataType");
            return (Criteria) this;
        }

        public Criteria andRecvDataTypeBetween(String value1, String value2) {
            addCriterion("FC_RECV_DATA_TYPE between", value1, value2, "recvDataType");
            return (Criteria) this;
        }

        public Criteria andRecvDataTypeNotBetween(String value1, String value2) {
            addCriterion("FC_RECV_DATA_TYPE not between", value1, value2, "recvDataType");
            return (Criteria) this;
        }

        public Criteria andCommunTypeIsNull() {
            addCriterion("FC_COMMUN_TYPE is null");
            return (Criteria) this;
        }

        public Criteria andCommunTypeIsNotNull() {
            addCriterion("FC_COMMUN_TYPE is not null");
            return (Criteria) this;
        }

        public Criteria andCommunTypeEqualTo(String value) {
            addCriterion("FC_COMMUN_TYPE =", value, "communType");
            return (Criteria) this;
        }

        public Criteria andCommunTypeNotEqualTo(String value) {
            addCriterion("FC_COMMUN_TYPE <>", value, "communType");
            return (Criteria) this;
        }

        public Criteria andCommunTypeGreaterThan(String value) {
            addCriterion("FC_COMMUN_TYPE >", value, "communType");
            return (Criteria) this;
        }

        public Criteria andCommunTypeGreaterThanOrEqualTo(String value) {
            addCriterion("FC_COMMUN_TYPE >=", value, "communType");
            return (Criteria) this;
        }

        public Criteria andCommunTypeLessThan(String value) {
            addCriterion("FC_COMMUN_TYPE <", value, "communType");
            return (Criteria) this;
        }

        public Criteria andCommunTypeLessThanOrEqualTo(String value) {
            addCriterion("FC_COMMUN_TYPE <=", value, "communType");
            return (Criteria) this;
        }

        public Criteria andCommunTypeLike(String value) {
            addCriterion("FC_COMMUN_TYPE like", value, "communType");
            return (Criteria) this;
        }

        public Criteria andCommunTypeNotLike(String value) {
            addCriterion("FC_COMMUN_TYPE not like", value, "communType");
            return (Criteria) this;
        }

        public Criteria andCommunTypeIn(List<String> values) {
            addCriterion("FC_COMMUN_TYPE in", values, "communType");
            return (Criteria) this;
        }

        public Criteria andCommunTypeNotIn(List<String> values) {
            addCriterion("FC_COMMUN_TYPE not in", values, "communType");
            return (Criteria) this;
        }

        public Criteria andCommunTypeBetween(String value1, String value2) {
            addCriterion("FC_COMMUN_TYPE between", value1, value2, "communType");
            return (Criteria) this;
        }

        public Criteria andCommunTypeNotBetween(String value1, String value2) {
            addCriterion("FC_COMMUN_TYPE not between", value1, value2, "communType");
            return (Criteria) this;
        }

        public Criteria andCommunParamIsNull() {
            addCriterion("FC_COMMUN_PARAM is null");
            return (Criteria) this;
        }

        public Criteria andCommunParamIsNotNull() {
            addCriterion("FC_COMMUN_PARAM is not null");
            return (Criteria) this;
        }

        public Criteria andCommunParamEqualTo(String value) {
            addCriterion("FC_COMMUN_PARAM =", value, "communParam");
            return (Criteria) this;
        }

        public Criteria andCommunParamNotEqualTo(String value) {
            addCriterion("FC_COMMUN_PARAM <>", value, "communParam");
            return (Criteria) this;
        }

        public Criteria andCommunParamGreaterThan(String value) {
            addCriterion("FC_COMMUN_PARAM >", value, "communParam");
            return (Criteria) this;
        }

        public Criteria andCommunParamGreaterThanOrEqualTo(String value) {
            addCriterion("FC_COMMUN_PARAM >=", value, "communParam");
            return (Criteria) this;
        }

        public Criteria andCommunParamLessThan(String value) {
            addCriterion("FC_COMMUN_PARAM <", value, "communParam");
            return (Criteria) this;
        }

        public Criteria andCommunParamLessThanOrEqualTo(String value) {
            addCriterion("FC_COMMUN_PARAM <=", value, "communParam");
            return (Criteria) this;
        }

        public Criteria andCommunParamLike(String value) {
            addCriterion("FC_COMMUN_PARAM like", value, "communParam");
            return (Criteria) this;
        }

        public Criteria andCommunParamNotLike(String value) {
            addCriterion("FC_COMMUN_PARAM not like", value, "communParam");
            return (Criteria) this;
        }

        public Criteria andCommunParamIn(List<String> values) {
            addCriterion("FC_COMMUN_PARAM in", values, "communParam");
            return (Criteria) this;
        }

        public Criteria andCommunParamNotIn(List<String> values) {
            addCriterion("FC_COMMUN_PARAM not in", values, "communParam");
            return (Criteria) this;
        }

        public Criteria andCommunParamBetween(String value1, String value2) {
            addCriterion("FC_COMMUN_PARAM between", value1, value2, "communParam");
            return (Criteria) this;
        }

        public Criteria andCommunParamNotBetween(String value1, String value2) {
            addCriterion("FC_COMMUN_PARAM not between", value1, value2, "communParam");
            return (Criteria) this;
        }

        public Criteria andBackupTimeIsNull() {
            addCriterion("FD_BACK_UP_TIME is null");
            return (Criteria) this;
        }

        public Criteria andBackupTimeIsNotNull() {
            addCriterion("FD_BACK_UP_TIME is not null");
            return (Criteria) this;
        }

        public Criteria andBackupTimeEqualTo(Date value) {
            addCriterionForJDBCDate("FD_BACK_UP_TIME =", value, "backupTime");
            return (Criteria) this;
        }

        public Criteria andBackupTimeNotEqualTo(Date value) {
            addCriterionForJDBCDate("FD_BACK_UP_TIME <>", value, "backupTime");
            return (Criteria) this;
        }

        public Criteria andBackupTimeGreaterThan(Date value) {
            addCriterionForJDBCDate("FD_BACK_UP_TIME >", value, "backupTime");
            return (Criteria) this;
        }

        public Criteria andBackupTimeGreaterThanOrEqualTo(Date value) {
            addCriterionForJDBCDate("FD_BACK_UP_TIME >=", value, "backupTime");
            return (Criteria) this;
        }

        public Criteria andBackupTimeLessThan(Date value) {
            addCriterionForJDBCDate("FD_BACK_UP_TIME <", value, "backupTime");
            return (Criteria) this;
        }

        public Criteria andBackupTimeLessThanOrEqualTo(Date value) {
            addCriterionForJDBCDate("FD_BACK_UP_TIME <=", value, "backupTime");
            return (Criteria) this;
        }

        public Criteria andBackupTimeIn(List<Date> values) {
            addCriterionForJDBCDate("FD_BACK_UP_TIME in", values, "backupTime");
            return (Criteria) this;
        }

        public Criteria andBackupTimeNotIn(List<Date> values) {
            addCriterionForJDBCDate("FD_BACK_UP_TIME not in", values, "backupTime");
            return (Criteria) this;
        }

        public Criteria andBackupTimeBetween(Date value1, Date value2) {
            addCriterionForJDBCDate("FD_BACK_UP_TIME between", value1, value2, "backupTime");
            return (Criteria) this;
        }

        public Criteria andBackupTimeNotBetween(Date value1, Date value2) {
            addCriterionForJDBCDate("FD_BACK_UP_TIME not between", value1, value2, "backupTime");
            return (Criteria) this;
        }

        public Criteria andDataSizeIsNull() {
            addCriterion("FI_DATA_SIZE is null");
            return (Criteria) this;
        }

        public Criteria andDataSizeIsNotNull() {
            addCriterion("FI_DATA_SIZE is not null");
            return (Criteria) this;
        }

        public Criteria andDataSizeEqualTo(Long value) {
            addCriterion("FI_DATA_SIZE =", value, "dataSize");
            return (Criteria) this;
        }

        public Criteria andDataSizeNotEqualTo(Long value) {
            addCriterion("FI_DATA_SIZE <>", value, "dataSize");
            return (Criteria) this;
        }

        public Criteria andDataSizeGreaterThan(Long value) {
            addCriterion("FI_DATA_SIZE >", value, "dataSize");
            return (Criteria) this;
        }

        public Criteria andDataSizeGreaterThanOrEqualTo(Long value) {
            addCriterion("FI_DATA_SIZE >=", value, "dataSize");
            return (Criteria) this;
        }

        public Criteria andDataSizeLessThan(Long value) {
            addCriterion("FI_DATA_SIZE <", value, "dataSize");
            return (Criteria) this;
        }

        public Criteria andDataSizeLessThanOrEqualTo(Long value) {
            addCriterion("FI_DATA_SIZE <=", value, "dataSize");
            return (Criteria) this;
        }

        public Criteria andDataSizeIn(List<Long> values) {
            addCriterion("FI_DATA_SIZE in", values, "dataSize");
            return (Criteria) this;
        }

        public Criteria andDataSizeNotIn(List<Long> values) {
            addCriterion("FI_DATA_SIZE not in", values, "dataSize");
            return (Criteria) this;
        }

        public Criteria andDataSizeBetween(Long value1, Long value2) {
            addCriterion("FI_DATA_SIZE between", value1, value2, "dataSize");
            return (Criteria) this;
        }

        public Criteria andDataSizeNotBetween(Long value1, Long value2) {
            addCriterion("FI_DATA_SIZE not between", value1, value2, "dataSize");
            return (Criteria) this;
        }

        public Criteria andStatusIsNull() {
            addCriterion("FI_STATUS is null");
            return (Criteria) this;
        }

        public Criteria andStatusIsNotNull() {
            addCriterion("FI_STATUS is not null");
            return (Criteria) this;
        }

        public Criteria andStatusEqualTo(Short value) {
            addCriterion("FI_STATUS =", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotEqualTo(Short value) {
            addCriterion("FI_STATUS <>", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusGreaterThan(Short value) {
            addCriterion("FI_STATUS >", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusGreaterThanOrEqualTo(Short value) {
            addCriterion("FI_STATUS >=", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLessThan(Short value) {
            addCriterion("FI_STATUS <", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLessThanOrEqualTo(Short value) {
            addCriterion("FI_STATUS <=", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusIn(List<Short> values) {
            addCriterion("FI_STATUS in", values, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotIn(List<Short> values) {
            addCriterion("FI_STATUS not in", values, "status");
            return (Criteria) this;
        }

        public Criteria andStatusBetween(Short value1, Short value2) {
            addCriterion("FI_STATUS between", value1, value2, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotBetween(Short value1, Short value2) {
            addCriterion("FI_STATUS not between", value1, value2, "status");
            return (Criteria) this;
        }

        public Criteria andMsgCharsetIsNull() {
            addCriterion("FC_MSG_CHARSET is null");
            return (Criteria) this;
        }

        public Criteria andMsgCharsetIsNotNull() {
            addCriterion("FC_MSG_CHARSET is not null");
            return (Criteria) this;
        }

        public Criteria andMsgCharsetEqualTo(String value) {
            addCriterion("FC_MSG_CHARSET =", value, "msgCharset");
            return (Criteria) this;
        }

        public Criteria andMsgCharsetNotEqualTo(String value) {
            addCriterion("FC_MSG_CHARSET <>", value, "msgCharset");
            return (Criteria) this;
        }

        public Criteria andMsgCharsetGreaterThan(String value) {
            addCriterion("FC_MSG_CHARSET >", value, "msgCharset");
            return (Criteria) this;
        }

        public Criteria andMsgCharsetGreaterThanOrEqualTo(String value) {
            addCriterion("FC_MSG_CHARSET >=", value, "msgCharset");
            return (Criteria) this;
        }

        public Criteria andMsgCharsetLessThan(String value) {
            addCriterion("FC_MSG_CHARSET <", value, "msgCharset");
            return (Criteria) this;
        }

        public Criteria andMsgCharsetLessThanOrEqualTo(String value) {
            addCriterion("FC_MSG_CHARSET <=", value, "msgCharset");
            return (Criteria) this;
        }

        public Criteria andMsgCharsetLike(String value) {
            addCriterion("FC_MSG_CHARSET like", value, "msgCharset");
            return (Criteria) this;
        }

        public Criteria andMsgCharsetNotLike(String value) {
            addCriterion("FC_MSG_CHARSET not like", value, "msgCharset");
            return (Criteria) this;
        }

        public Criteria andMsgCharsetIn(List<String> values) {
            addCriterion("FC_MSG_CHARSET in", values, "msgCharset");
            return (Criteria) this;
        }

        public Criteria andMsgCharsetNotIn(List<String> values) {
            addCriterion("FC_MSG_CHARSET not in", values, "msgCharset");
            return (Criteria) this;
        }

        public Criteria andMsgCharsetBetween(String value1, String value2) {
            addCriterion("FC_MSG_CHARSET between", value1, value2, "msgCharset");
            return (Criteria) this;
        }

        public Criteria andMsgCharsetNotBetween(String value1, String value2) {
            addCriterion("FC_MSG_CHARSET not between", value1, value2, "msgCharset");
            return (Criteria) this;
        }

        public Criteria andMsgTypeIsNull() {
            addCriterion("FC_MSG_TYPE is null");
            return (Criteria) this;
        }

        public Criteria andMsgTypeIsNotNull() {
            addCriterion("FC_MSG_TYPE is not null");
            return (Criteria) this;
        }

        public Criteria andMsgTypeEqualTo(String value) {
            addCriterion("FC_MSG_TYPE =", value, "msgType");
            return (Criteria) this;
        }

        public Criteria andMsgTypeNotEqualTo(String value) {
            addCriterion("FC_MSG_TYPE <>", value, "msgType");
            return (Criteria) this;
        }

        public Criteria andMsgTypeGreaterThan(String value) {
            addCriterion("FC_MSG_TYPE >", value, "msgType");
            return (Criteria) this;
        }

        public Criteria andMsgTypeGreaterThanOrEqualTo(String value) {
            addCriterion("FC_MSG_TYPE >=", value, "msgType");
            return (Criteria) this;
        }

        public Criteria andMsgTypeLessThan(String value) {
            addCriterion("FC_MSG_TYPE <", value, "msgType");
            return (Criteria) this;
        }

        public Criteria andMsgTypeLessThanOrEqualTo(String value) {
            addCriterion("FC_MSG_TYPE <=", value, "msgType");
            return (Criteria) this;
        }

        public Criteria andMsgTypeLike(String value) {
            addCriterion("FC_MSG_TYPE like", value, "msgType");
            return (Criteria) this;
        }

        public Criteria andMsgTypeNotLike(String value) {
            addCriterion("FC_MSG_TYPE not like", value, "msgType");
            return (Criteria) this;
        }

        public Criteria andMsgTypeIn(List<String> values) {
            addCriterion("FC_MSG_TYPE in", values, "msgType");
            return (Criteria) this;
        }

        public Criteria andMsgTypeNotIn(List<String> values) {
            addCriterion("FC_MSG_TYPE not in", values, "msgType");
            return (Criteria) this;
        }

        public Criteria andMsgTypeBetween(String value1, String value2) {
            addCriterion("FC_MSG_TYPE between", value1, value2, "msgType");
            return (Criteria) this;
        }

        public Criteria andMsgTypeNotBetween(String value1, String value2) {
            addCriterion("FC_MSG_TYPE not between", value1, value2, "msgType");
            return (Criteria) this;
        }

        public Criteria andIdLikeInsensitive(String value) {
            addCriterion("upper(FC_ID) like", value.toUpperCase(), "id");
            return (Criteria) this;
        }

        public Criteria andRecvFileNameLikeInsensitive(String value) {
            addCriterion("upper(FC_RECV_FILE_NAME) like", value.toUpperCase(), "recvFileName");
            return (Criteria) this;
        }

        public Criteria andRecvDataTypeLikeInsensitive(String value) {
            addCriterion("upper(FC_RECV_DATA_TYPE) like", value.toUpperCase(), "recvDataType");
            return (Criteria) this;
        }

        public Criteria andCommunTypeLikeInsensitive(String value) {
            addCriterion("upper(FC_COMMUN_TYPE) like", value.toUpperCase(), "communType");
            return (Criteria) this;
        }

        public Criteria andCommunParamLikeInsensitive(String value) {
            addCriterion("upper(FC_COMMUN_PARAM) like", value.toUpperCase(), "communParam");
            return (Criteria) this;
        }

        public Criteria andMsgCharsetLikeInsensitive(String value) {
            addCriterion("upper(FC_MSG_CHARSET) like", value.toUpperCase(), "msgCharset");
            return (Criteria) this;
        }

        public Criteria andMsgTypeLikeInsensitive(String value) {
            addCriterion("upper(FC_MSG_TYPE) like", value.toUpperCase(), "msgType");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}